<?php

class Controller_Admin_Home extends Controller
{
    public function __construct()
    {
        $aUser = getCurrentUser();
		if (!isset($aUser['utype']) || $aUser['utype'] != 'admin')
		{
		    Controller_Error::forbidden();
		}
    }
    
	public function index()
	{
	    return $this->view->render('admin/home.tpl');
	}
}